package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line = "asdasg125asd15sad121asd5asd45adas54d";
        line = line.replaceAll("[0-9]+","#ooooooo#");
        System.out.println(line);
    }
}
